
import axios from 'axios'

//开发环境请求
// console.log(process.env,'process.env')

// 常规请求
const request = axios.create({
    baseURL:process.env.VUE_APP_API+'/api',
    timeout:2000,
});
// mock数据请求axios
const requestMock = axios.create({
    baseURL: "/api",
    timeout: 5000,
})

export {request,requestMock};


